package com.runtime.clients;

import com.runtime.bean.Tblarea;
import com.runtime.config.FeignClientConfiguration;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value = "areaService",configuration = FeignClientConfiguration.class)
public interface AreaClient {
    @GetMapping("/area/findById/{areaId}")
    public Tblarea findById(@PathVariable("areaId") Long areaId);
}
